/********************************************************************
Table 1: Fixed Effects Analysis: Risk and Social Spending Demand
Author: Raluca L. Pahontu
********************************************************************/

*Column 1 
qui xtreg spending_demand i.rho $cfe   , fe cl(idpers) 
estimate store table1column1
outreg2 using "tab1.doc", replace  dec(2) keep(2.rho 3.rho) 

*Column 2
qui xtreg spending_demand i.rho $cfe $csim , fe cl(idpers)  
estimate store table1column2
outreg2 using "tab1.doc", append  dec(2) keep(2.rho 3.rho) 

*Column 3
qui xtreg spending_demand i.rho $cfe $csim $crest , fe cl(idpers) 
estimate store table1column3
outreg2 using "tab1.doc",   dec(2) keep(2.rho 3.rho)  append tex


esttab table1column*, b(a1) se star(* 0.10 ** 0.05 *** 0.01)  keep(2.rho 3.rho) /// 
coeflabels(2.rho  "Risk Rho2 " 3.rho "Risk Rho1")
